<#setting number_format="0" /> 
<#if (type?? && type = "view")>
	<span>${value!""}</span>
<#else>
	<select name="${name}" <#if id??> id="${id}"</#if>>
		<#if !selectOne>
		<option value="">请选择</option>
		</#if>
		<#if nodeList??>
		<#list nodeList as nodeInfo>
		<option value="${nodeInfo.id}" <#if (value?? && nodeInfo.id?string == value)>selected="selected"</#if>>${nodeInfo.name}</option>
		</#list>
		</#if>
	</select>
</#if>
